<?php

namespace App\BO\Order\CreateOrder;

class ProductInfo
{
    /**
     * @var int
     */
    public $productId;

    /**
     * @var int
     */
    public $productSkuId;

    /**
     * @var int
     */
    public $productUnitId;

    /**
     * 单位为分
     * @var int
     */
    public $price;

    /**
     * 单位为分
     * @var int
     */
    public $oldPrice;

    public $skuShowType = 1;

    /**
     * @var string
     */
    public $title;

    /**
     * @var string
     */
    public $skuTitle;

    /**
     * @return int
     */
    public function getProductId(): int
    {
        return $this->productId;
    }

    /**
     * @param int $productId
     */
    public function setProductId(int $productId): void
    {
        $this->productId = $productId;
    }

    /**
     * @return int
     */
    public function getPrice(): int
    {
        return $this->price;
    }

    /**
     * @param int $price
     */
    public function setPrice(int $price): void
    {
        $this->price = $price;
    }

    /**
     * @return int
     */
    public function getOldPrice(): int
    {
        return $this->oldPrice;
    }

    /**
     * @param int $oldPrice
     */
    public function setOldPrice(int $oldPrice): void
    {
        $this->oldPrice = $oldPrice;
    }

    /**
     * @return int
     */
    public function getSkuShowType(): int
    {
        return $this->skuShowType;
    }

    /**
     * @param int $skuShowType
     */
    public function setSkuShowType(int $skuShowType): void
    {
        $this->skuShowType = $skuShowType;
    }

    /**
     * @return string
     */
    public function getTitle(): string
    {
        return $this->title;
    }

    /**
     * @param string $title
     */
    public function setTitle(string $title): void
    {
        $this->title = $title;
    }

    /**
     * @return string
     */
    public function getSkuTitle(): string
    {
        return $this->skuTitle;
    }

    /**
     * @param string $skuTitle
     */
    public function setSkuTitle(string $skuTitle): void
    {
        $this->skuTitle = $skuTitle;
    }

    /**
     * @return int
     */
    public function getProductSkuId(): int
    {
        return $this->productSkuId;
    }

    /**
     * @param int $productSkuId
     */
    public function setProductSkuId(int $productSkuId): void
    {
        $this->productSkuId = $productSkuId;
    }

    /**
     * @return int
     */
    public function getProductUnitId(): int
    {
        return $this->productUnitId;
    }

    /**
     * @param int $productUnitId
     */
    public function setProductUnitId(int $productUnitId): void
    {
        $this->productUnitId = $productUnitId;
    }

}
